home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / GeometryTest / GTShell.h < prev    next >
Encoding:
Text File  |  1995-05-02  |  1.5 KB  |  94 lines  |  [TEXT/MPCC]

  1. // smallshell.h - public interface for the shell
  2. //
  3. // Modification History:
  4. //
  5. //    01/01/95    nick    created this file from other stuff
  6.  
  7. #ifndef _SMALLSHELL_H_
  8. #define _SMALLSHELL_H_
  9.  
  10.     
  11. //-------------------------------------------------------------------------------------------
  12. //
  13. enum {
  14.     mApple = 128,
  15.     mFile,
  16.     mEdit,
  17.     mGeometry
  18. } ;
  19.  
  20. enum {
  21.     iAbout = 1
  22. } ;
  23.  
  24. enum {
  25.     iNew = 1,
  26.     iOpen,
  27.     iUnused1,
  28.     iClose,
  29.     iSave,
  30.     iSaveAs,
  31.     iRevert,
  32.     iUnused2,
  33.     iPageSetup,
  34.     iPrint,
  35.     iUnused3,
  36.     iQuit
  37. } ;
  38.  
  39. enum { 
  40.     iUndo,
  41.     iUnused4,
  42.     iCut,
  43.     iCopy,
  44.     iPaste,
  45.     iClear,
  46.     iUnused5,
  47.     iShowClip
  48. } ;
  49.  
  50. enum {
  51.     iMarker = 1,
  52.     iPoint,
  53.     iLine, 
  54.     iPolyline,
  55.     iTriangle,
  56.     iPolygon,
  57.     iGeneralPolygon,
  58.     iTrigrid,
  59.     iBox,
  60.     iMesh,
  61.     iNurbCurve,
  62.     iNurbPatch
  63. } ;
  64.     
  65.  
  66. //-------------------------------------------------------------------------------------------
  67. //
  68. enum {
  69.     iUsePictPalette = 1
  70. } ;
  71.  
  72. //-------------------------------------------------------------------------------------------
  73. // globals - defined in SmallShell.c
  74. extern Boolean gQuitFlag ;
  75.  
  76.  
  77. //-------------------------------------------------------------------------------------------
  78. // constants - defined in SmallShell.c
  79. extern const RGBColor    kRGBBlack ;
  80. extern const RGBColor    kRGBWhite ;
  81.  
  82. // function prototypes
  83.  
  84.  
  85. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  86.                                     const Ptr theStorage, 
  87.                                     const CTabHandle theWindowCTab,
  88.                                     const short theDepth, 
  89.                                     const Str255 theTitle ) ;
  90. short         HiWrd(long aLong) ;
  91. short         LoWrd(long aLong) ;
  92.  
  93.  
  94. #endif